#include "summary.h"
#include <stdio.h>

int main() {
	printf("%s", "starting sdfsdf\n");


	//StreamSummaryBuffer * sum = new StreamSummaryBuffer(4,4);
	StreamSummaryBucket * sum = new StreamSummaryBucket(4);
	sum->insert(2, 3, 0.9);
	sum->insert(5, 2, 0.9);
	sum->insert(2, 5, 0.9);
	sum->insert(7, 4, 0.9);
	sum->insert(2, 5, 0.9);
	sum->insert(5, 6, 0.9);
	sum->insert(2, 8, 0.9);
	sum->insert(7, 7, 0.9);
	sum->insert(2, 5, 0.9);
	sum->insert(5, 1, 0.9);
	sum->insert(2, 2, 0.9);
	sum->insert(7, 3, 0.9);
	sum->insert(2, 6, 0.9);
	sum->insert(5, 5, 0.9);
	sum->insert(2, 2, 0.9);
	sum->insert(7, 7, 0.9);
	sum->insert(2, 4, 0.9);
	sum->insert(5, 2, 0.9);
	sum->insert(2, 9, 0.9);
	sum->insert(7, 6, 0.9);
	sum->insert(2, 5, 0.9);
	sum->insert(5, 7, 0.9);
	sum->insert(2, 6, 0.9);
	sum->insert(7, 5, 0.9);
	sum->insert(2, 5, 0.9);
	sum->insert(5, 5, 0.9);
	sum->insert(2, 5, 0.9);
	sum->insert(7, 5, 0.9);
	//cerr << sum->to_string() << endl;
	delete sum;
	cerr << "finished" << endl;
	return -1;
}
